package com.example.sportgoods.Service;

import com.example.sportgoods.domain.Shop;

import java.util.List;

public interface ShopService {
    public List<Shop> selectAllShops();
    public Shop selectShopById(Long id);
    public int updateShop(Shop shop);
    // 新增店铺的抽象方法，用于向数据库中插入新的店铺记录
    void addShop(Shop shop);

    // 根据店铺id删除店铺的抽象方法，用于从数据库中删除对应id的店铺记录
    void deleteShopById(Long id);
}